package Test.tools;

public class Utils {

	//点转换为反斜杠
	public static String docToBackslash(String currentBao){
		String baoName = currentBao.replace(".", "/");
		return baoName;
	}
	
	//字符串首字母大写
	public static String upperFirstChar(String str){
//		String first = fldName.substring(0, 1).toUpperCase();
//		String rest = fldName.substring(1, fldName.length());
//		String newStr = new StringBuffer(first).append(rest).toString();
		StringBuilder sb = new StringBuilder(str);
		sb.setCharAt(0, Character.toUpperCase(sb.charAt(0)));
		str = sb.toString();
		return str;
	} 
	
	//字符串拆分为数组
	public static String[] stringToArray(String str){
		String []array = str.split(",");
		return array;
	} 
	
	//获取到的
	
}
